package com.wanglei.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wanglei.domain.entity.ArticleTag;
import com.wanglei.service.ArticleTagService;
import com.wanglei.mapper.ArticleTagMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author MrWang
* @description 针对表【sg_article_tag(文章标签关联表)】的数据库操作Service实现
* @createDate 2023-08-25 20:12:27
*/
@Service
public class ArticleTagServiceImpl extends ServiceImpl<ArticleTagMapper, ArticleTag>
    implements ArticleTagService{

    @Autowired
    private ArticleTagMapper articleTagMapper;

    @Override
    public int deleteByArticleId(Long id) {
        return articleTagMapper.deleteByArticleId(id);
    }
}




